<?php /* Smarty version Smarty-3.1.12, created on 2013-03-02 22:18:47
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/profile/heroUnit.avatarTemplate.tpl" */ ?>
<?php /*%%SmartyHeaderCode:710867644512371662d28b5-01131659%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '63ebc5f1d37f58377857cd35e198d3ff221f62cf' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/profile/heroUnit.avatarTemplate.tpl',
      1 => 1362259125,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '710867644512371662d28b5-01131659',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_512371662d7764_15989829',
  'variables' => 
  array (
    'ranking' => 0,
    'borderColor' => 0,
    'avatarSrc' => 0,
    'color' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_512371662d7764_15989829')) {function content_512371662d7764_15989829($_smarty_tpl) {?>	<?php $_smarty_tpl->tpl_vars["color"] = new Smarty_variable("whiteSmoke", null, 0);?>
<?php if ($_smarty_tpl->tpl_vars['ranking']->value==1){?>
	<?php $_smarty_tpl->tpl_vars["borderColor"] = new Smarty_variable("gold", null, 0);?>
	<?php $_smarty_tpl->tpl_vars["color"] = new Smarty_variable("#333", null, 0);?>
<?php }elseif($_smarty_tpl->tpl_vars['ranking']->value==2){?>
	<?php $_smarty_tpl->tpl_vars["borderColor"] = new Smarty_variable("silver", null, 0);?>

<?php }elseif($_smarty_tpl->tpl_vars['ranking']->value==3){?>
	<?php $_smarty_tpl->tpl_vars["borderColor"] = new Smarty_variable("peru", null, 0);?>
<?php }else{ ?>
	<?php $_smarty_tpl->tpl_vars["borderColor"] = new Smarty_variable("#333", null, 0);?>
<?php }?>

<div style="border: 2px solid <?php echo $_smarty_tpl->tpl_vars['borderColor']->value;?>
; border-radius: 5px; background-image:url(<?php echo $_smarty_tpl->tpl_vars['avatarSrc']->value;?>
); background-position: top center;">
<!-- 	<img src="<?php echo $_smarty_tpl->tpl_vars['avatarSrc']->value;?>
" alt="Avatar"> -->
	<div
		style="margin-top: 140px; line-height:20px; background-color: <?php echo $_smarty_tpl->tpl_vars['borderColor']->value;?>
; font-size: 12px; text-align: center; color: <?php echo $_smarty_tpl->tpl_vars['color']->value;?>
;">
		Ranking:&nbsp;<strong><?php echo $_smarty_tpl->tpl_vars['ranking']->value;?>
.</strong></div>
</div><?php }} ?>